package com.modbus.tcp.domain;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.Date;

/**
 * 表 modbusslave
 *
 * @author d
 * @date 2023-11-21
 */
@Data
@Repository
public class Modbusslave implements Serializable {
    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "服务器ID")
    @TableField(value = "modbusid")
    private Integer modbusid;


    @ApiModelProperty(value = "灭火位置ID")
    @TableField(value = "id")
    private Integer id;


    @ApiModelProperty(value = "IP地址")
    @TableField(value = "hostaddr")
    private String hostaddr;


    @ApiModelProperty(value = "ip端口号")
    @TableField(value = "port")
    private Integer port;


    @ApiModelProperty(value = "0tcp 1rtu 485类型")
    @TableField(value = "modbustype")
    private Integer modbustype;


    @ApiModelProperty(value = "修改时间")
    @TableField(value = "datadate")
    private Date datadate;


}